/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aptech.edu.ixj.interfaces;

import aptech.edu.ixj.entity.Answer;
import aptech.edu.ixj.entity.Question;
import aptech.edu.ixj.entity.Survey;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Node;

/**
 *
 * @author VAN
 */
public interface ISurveyDao {

    public List<Survey> getListSurvey();

    public boolean save();

    public boolean removeSurvey(String surveyId);

    public void remove(Node node);

    public boolean create(Survey survey);
     public List<Survey> readSurvey(String id);
     public boolean updateQuetion(Question question);
     public boolean updateAnswer(Answer answer);
     public boolean disiableQuestion(String idQuestion);

}
